# $NetBSD: Makefile,v 1.3 2012/11/12 15:59:46 othyro Exp $
#

DISTNAME=	cartago-1.4.0
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=cartago/}
EXTRACT_SUFX=	.zip

MAINTAINER=	jihbed.research@gmail.com
HOMEPAGE=	http://alice.unibo.it/xwiki/bin/view/CARTAGO/
COMMENT=	Framework for programming and executing environments in multi-agent
LICENSE=	gnu-lgpl-v2.1 # or later

USE_TOOLS+=	pax
NO_BUILD=	yes
USE_LANGUAGES=	# none

PKG_JVMS_ACCEPTED=	sun-jdk7

INSTALLATION_DIRS=	lib/java/cartago/lib share/doc/cartago

do-install:
	${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${DESTDIR}${PREFIX}/lib/java/cartago/lib
	cd ${WRKSRC}/doc && pax -wr -pm * ${DESTDIR}${PREFIX}/share/doc/cartago

.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
